/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework;

import java.util.Vector;

/**
 *
 * @author Administrator
 * 
 * main()
 * ClassNameDemo
 * ClassNaneTest
 */
public class VectorDemo2 {
    
    public static void main(String[] args) {
        //实例化一个集合容器类，LinksdList,ArrayList,Voctor,Set,Map
        //CRUD,针对容器类的操作，添加 add，移除remove，检索get(index),修改 set(index, newElement)
      
        
        Vector v = new Vector();
   
    
        v.add("第一");
        v.add(new Integer(1));   //Integer int
        v.add(new Double(1.1));
    
    
    
    

}
